using System;
using System.Collections.Generic;
using System.Text;

namespace Business
{
    public class clsDocGia:clsNguoiDung
    {
        //Fields.
        private DateTime ngayLapThe;
        private DateTime ngayHetHan;
        private clsLoaiDG loaiDG;
        private long tongNo;
        private bool tinhTrangNo;

        //Constructors.
        public clsDocGia()
        {
        }

        public clsDocGia(String maND, String hoTen, bool gioiTinh, String diaChi, 
                            DateTime ngaySinh, String hinhAnh,DateTime ngayLapThe, 
                            DateTime ngayHetHan, clsLoaiDG loaiDG, long tongNo, 
                            bool tinhTrangNo) 
                        :base(maND, hoTen, gioiTinh, diaChi, ngaySinh, hinhAnh)
        {
            this.ngayLapThe = ngayLapThe;
            this.ngayHetHan = ngayHetHan;
            this.loaiDG = loaiDG;
            this.tongNo = tongNo;
            this.tinhTrangNo = tinhTrangNo;
        }

        //Properties.
        public DateTime NgayLapThe
        {
            set { this.ngayLapThe = value; }
            get { return this.ngayLapThe; }
        }

        public DateTime NgayHetHan
        {
            set { this.ngayHetHan = value; }
            get { return this.ngayHetHan; }
        }

        public clsLoaiDG LoaiDG
        {
            set { this.loaiDG = value; }
            get { return this.loaiDG; }
        }

        public long TongNo
        {
            set { this.tongNo = value; }
            get { return this.tongNo; }
        }

        public bool TinhTrangNo
        {
            set { this.tinhTrangNo = value; }
            get { return this.tinhTrangNo; }
        }

        //Methods.
    }
}
